<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Adding HomeWork</title>
</head>
<body>
<form action="addHomework" method="post" enctype="multipart/form-data">
		<h1>Add New Homework</h1>
		<p>
			Homework Name: <input type="text" name=homeworkname value="">
		</p>
		<p>
			Start Date: <input type="text" name=start_date value="">
		</p>
		<p>
			DeadLine: <input type="text" name=deadline value="">
		</p>
		<p>
			Attachment: <input type="file" name=butt value="Upload">
		</p>
		<%
		request.setAttribute("group_id", request.getParameter("group_id"));
		%>
		<INPUT type="hidden" value="<%=request.getParameter("group_id")%>"
		name="group_id">
		<%System.out.println(request.getParameter("group_id")); %>
		<INPUT type="hidden" value="<%=request.getParameter("groupName")%>"
		name="groupName">
		<INPUT type="hidden" value="<%=request.getParameter("subject")%>"
		name="subject">
		<input type="submit" name=butt value="Sumbit">
	</form>
</body>
</html>